using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
//ok

namespace WCFDicing.DataContracts
{
    /// <summary>
    /// klasa opisujaca pokoj gry
    /// </summary>
    [DataContract( Namespace = "http://WCFDicing.DataContracts/2008/01", Name = "DicingRoom" )]
    public partial class DicingRoom
    {
        /// <summary>
        /// nazwa pokoju
        /// </summary>
        private System.String NameField;

        /// <summary>
        /// get i set nazwa pokoju
        /// </summary>
        [DataMember( IsRequired = false, Name = "Name", Order = 0 )]
        public System.String Name
        {
            get { return NameField; }
            set { NameField = value; }
        }

        /// <summary>
        /// id pokoju
        /// </summary>
        private System.Int32 IDField;

        /// <summary>
        /// get i set id pokoju
        /// </summary>
        [DataMember( IsRequired = false, Name = "ID", Order = 1 )]
        public System.Int32 ID
        {
            get { return IDField; }
            set { IDField = value; }
        }

        /// <summary>
        /// opcje pokoju
        /// </summary>
        private WCFDicing.DataContracts.DicingRoomOption OptionsField;

        /// <summary>
        /// get i set opcji pokoju
        /// </summary>
        [DataMember( IsRequired = false, Name = "Options", Order = 2 )]
        public WCFDicing.DataContracts.DicingRoomOption Options
        {
            get { return OptionsField; }
            set { OptionsField = value; }
        }

        /// <summary>
        /// ilosc graczy
        /// </summary>
        private System.Int32 PlayersField;

        /// <summary>
        /// get i set ilosc graczy
        /// </summary>
        [DataMember( IsRequired = false, Name = "Players", Order = 3 )]
        public System.Int32 Players
        {
            get { return PlayersField; }
            set { PlayersField = value; }
        }

        /// <summary>
        /// stan pokoju
        /// </summary>
        private DicingActionList ActionField;

        /// <summary>
        /// get i set stan pokoju
        /// </summary>
        [DataMember( IsRequired = false, Name = "Action", Order = 4 )]
        public DicingActionList Action
        {
            get { return ActionField; }
            set { ActionField = value; }
        }


    }
}
